<?php
namespace Admin\Controller;
use Think\Controller;
class IndexController extends BaseController {
    public function index(){
        //获取按钮
        $userModel = D('user');
        $btn = $userModel->getPriBtn();

        $this->assign(array(
            'btn' =>$btn ,
             ));
        $this->display();
    }

}